﻿using System;
using System.Xml.Serialization;

namespace TiEntityObject.Contract
{
    public class ContractProcedureTermination 
    {
        [XmlElement("paid")]
        public string Paid { get; set; }
        public decimal iPaid { get { decimal v = 0; decimal.TryParse(Paid, out v); return v; } }


        [XmlElement("terminationDate")]
        public DateTime TerminationDate { get; set; }
        public long iPublishDate { get { return Helper.Time.GetDateInMS(TerminationDate); } }

        [XmlElement("reason")]
        public string Reason{ get; set; }

    } 
}
